<?php


namespace App\Exports;


trait ExportTrait
{
    private $columnFormat = [];
    private $headings;
    private $title;

    public function setFormats(array $columnFormats)
    {
        $this->columnFormat = $columnFormats;
        return $this;
    }

    public function setHeadings(string $title,array $headings)
    {
        $this->headings = $headings;
        $this->title = $title;
        return $this;
    }
}